package com.woniu.dao;

import com.woniu.pojo.ServiceImg;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface ServiceImgMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ServiceImg record);

    int insertSelective(ServiceImg record);

    ServiceImg selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ServiceImg record);

    int updateByPrimaryKey(ServiceImg record);

    @Select("select * from service_img where serviceid=#{ServiceId}")
    List<ServiceImg> selectByServiceId(Integer ServiceId);
}